export type Gender = "MALE" | "FEMALE";

export interface Profile {
  id: number;
  number: string;
  name: string;
  gender: Gender;
  class: string;
  college: string;
  major: string;
}

export interface User {
  id: number;
  email: string;
  isActive: boolean;
  profile?: Profile;
}

export interface Course {
  id: number;
  name: string;
  teacher: string;
  classroom: string;
  semester: number;
  term: number;
  nature?: string;
  createdAt: Date;
  updatedAt: Date;
  owner: User;
  _count?: {
    reports: number;
  };
  reports?: Report[];
}

export interface Report {
  id: number;
  serial: number;
  name: string;
  objectives: string;
  equipment: string;
  content: string;
  result: string;
  date: string;
  score: number;
  remark: string;
  reviewDate: Date;
  createdAt: Date;
  updatedAt: Date;
  course: Course;
  owner: User;
}
